strtotime laravel

97

strtotime laravel -

$date = '25/05/2010';
$date = str_replace('/', '-', $date);
echo date('Y-m-d', strtotime($date));

Comments

Submit
0 Comments